ssh_hostname=$(hostname)
curl -s -q https://raw.githubusercontent.com/tmate-io/tmate-ssh-server/master/create_keys.sh | bash
docker run -d --name="tmate-server" \
	--cap-add SYS_ADMIN \
	-v $(pwd)/keys:/keys \
	-e SSH_KEYS_PATH=/keys \
	-p 2223:2223 \
	-e SSH_PORT_LISTEN=2223 \
	-e SSH_HOSTNAME="${ssh_hostname}" \
	-e USE_PROXY_PROTOCOL=0 \
	tmate/tmate-ssh-server:prod
